<?php
require_once("../data/db_connection.php");
echo 'Table Location <br />';
$db = new db();
//$sql = "INSERT INTO pTableLocationInfo values(NULL, 111.1111, 222.2222, '杭州市西湖区', '黄龙体育场')";
//$sql = "UPDATE pTableLocationInfo Set pAddress = '温州市鹿城区' WHERE _id = 2";
//$sql .= "UPDATE pTableLocationInfo Set pAddress = '温州市鹿城区' WHERE pByname = '第二乐章'"
$sql = "UPDATE pTableEventInfo Set pEventState = 4, pEventStart = '2018-09-09 09:10:09' WHERE pEventOwnerId = 647";
$db->conn->query($sql);
echo "返回的id = " . $db->query_get_id($sql);

$db->close();
?>